<?php

class Mojito_Controller_Action_Helper_RestResponse extends Zend_Controller_Action_Helper_Abstract
{
	private $Response;
		
	public function denied()
	{
		return $this->getResponse()->setHttpResponseCode(403);
	}

	public function notFound()
	{
		return $this->getResponse()->setHttpResponseCode(404);
	}
	
	public function created()
	{
		return $this->getResponse()->setHttpResponseCode(201);
	}
	
	public function deleted()
	{
		return $this->getResponse()->setHttpResponseCode(204);
	}
		
	public function malformed()
	{
		return $this->getResponse()->setHttpResponseCode(400);
	}
	
	public function gone()
	{
		return $this->getResponse()->setHttpResponseCode(410);
	}
}